<% if(events.length) { %>
	<ul class="unstyled list-unstyled cal-event-list">
		<% _.each(events, function(event){ %>
			<li><span class="pull-left event <%= event['class'] %>"></span>
				<a href="<%= event.url ? event.url : 'javascript:void(0)' %>" data-event-id="<%= event.id %>"
					data-event-class="<%= event['class'] %>" class="event-item">
					<%= event.title %></a></li>
		<% }) %>
	</ul>
<% } else  { %>
	<p><%= cal.locale.no_events_in_day %></p>    
<% }  %>
<p>
  <button id="criarAtividade" class="btn btn-mini btn-primary" type="button">Criar Atividade</button>
  <button id="criarReuniao" class="btn btn-mini btn-primary" type="button">Criar Reunião</button>
  <button id="criarLembrete" class="btn btn-mini btn-primary" type="button">Criar Lembrete</button>
  <button id="criarDataEspecial" class="btn btn-mini btn-primary" type="button">Criar Data Especial</button>
</p>
<script type="text/javascript" src="js/funcoes.js"></script>